package cn.jbit.easybuy.dao;

import java.util.List;

import cn.jbit.easybuy.entity.ProductCategory;

public interface ProductCategoryDao {

	/**
	 * 查询一级分类
	 * @return
	 */
	public List<ProductCategory> findParentCategory();
	/**
	 * 查询二级分类
	 * @param pid
	 * @return
	 */
	public List<ProductCategory> findChildCategory(long pid);
	
}
